package com.seari.custody.service;

import com.seari.custody.bean.AgendaFile;
import com.seari.custody.bean.PersonalAgenda;

import java.util.List;

public interface PersonalAgendaService {

    /**
     * 查询列表——公共会议
     * @param ma  公共会议信息
     * @return 公共会议集合
     */
    public List<PersonalAgenda> getAgendaByMpid(String userId,String startTime,String endTime) throws Exception;

    public void addAgendaInfo(PersonalAgenda personalAgenda) throws Exception;

    public PersonalAgenda selectAgendaInfoByUuid(String uuid) throws Exception;

    public List<AgendaFile> selectAgendaAttachFileList(String uuid) throws Exception;

    public AgendaFile selectAgendaAttachFileByFileUuid(String uuid) throws Exception;

    public List<PersonalAgenda> selectAgendaInfoListByYearAndWeek(int year,int week,String userName) throws Exception;

    public void addAgendaAttachFileInfo(AgendaFile agendaFile) throws Exception;

    public void deleteAgendaInfoByUuid(String uuid) throws Exception;

    public void deleteAgendaAttachFileByFileUuid(String uuid) throws Exception;

}
